From 75c4ddbc45e4efc13d8837d558c6975481619480 Mon Sep 17 00:00:00 2001 From: "robertlipe@gmail.com" Date: Wed, 27 Jun 2012 14:14:40 +0000 Subject: [PATCH] Fix hardcoded GPS time->UTC offset in Skytraq. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4184 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/skytraq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/skytraq.c b/gpsbabel/skytraq.c index 6edeb1469..1f9e30a80 100644 --- a/gpsbabel/skytraq.c +++ b/gpsbabel/skytraq.c @@ -553,9 +553,9 @@ static time_t gpstime_to_timet(int week, int sec) { /* TODO: make leap second compensation more general - * (the windows software seems to correct by 13). + * (the windows software seems to correct by a magic amount). */ - return (315964800 + (week+1024)*7*SECONDS_PER_DAY + sec - 13); + return (315964800 + (week+1024)*7*SECONDS_PER_DAY + sec - 16); } static void -- 2.30.2